package com.hzhc.utils;

/**
 * @author wuxiaoke
 * @description TODO
 * @date 2024/6/14 下午4:45
 */
public class SystemOnSelectUtil {

    public static boolean isLinux() {
        return System.getProperty("os.name").toLowerCase().contains("linux");
    }

    public static boolean isWindows() {
        return System.getProperty("os.name").toLowerCase().contains("windows");
    }

    public static boolean isMac() {
        return System.getProperty("os.name").toLowerCase().contains("mac");
    }


}
